<?

$totAmount = 0;

$CHtml = new CGHtml;
$CJs   = new CGJavascript;

$style100     = " style='height:100%; width:100%' ";

$numStyleSz5  = " style='text-align:right;'
                  size='5' ";


$stlButton    = " style='width:160;height:80;
                         font-size:150%;  
                         font-weight:bold;' ";

$stdStyle     = " style='color: sienna;'";
                      
$numStyle     = " style='text-align: right' ";

$noNullPrp    = " onFocus='setYellow2(this);' ".
                " onBlur ='setWhite2(this); ".
                          "noVal(this)' ";

$qtyInPrp       = " onFocus='setYellow2(this);' ".
                            
                  " onBlur ='setWhite2(this);' ";

$stdProperties  = " onFocus='setYellow2(this);' ".
                            
                  " onBlur ='setWhite2(this);' ";

$COracle = new oracleDb;
$COracle->init($_SESSION["ORCL"], 
               $_SESSION["OPASS"],
               $_SESSION["SID"],
               _NO_COMMENT);
               
echo 	//Global misc function of js
      "<SCRIPT LANGUAGE=\"JavaScript\" SRC=\"/ecs/javascript/GMisc.js\"></SCRIPT> \n".
      
      //This modul misc.js collections of function
      "<SCRIPT LANGUAGE=\"JavaScript\" SRC=\"/ecs/tocmenu_44/javascript/misc.js\"></SCRIPT> \n".
      
      //The ajax connections
      "<SCRIPT LANGUAGE=\"JavaScript\" SRC=\"/ecs/tocmenu_44/javascript/ajax.js\"></SCRIPT> \n". 
      
      "<SCRIPT LANGUAGE=\"JavaScript\" SRC=\"/ecs/javascript/CalendarPopup.js\"></SCRIPT> \n".
			"<SCRIPT LANGUAGE=\"JavaScript\">\n".
			"var cal      = new CalendarPopup();\n".
			"var gStatus    = Array();\n".
			"    gStatus[0] = false;\n".
			"</SCRIPT> \n".
			
			"<link rel=\"stylesheet\" type=\"text/css\" href=\"../myMenu.css\"/>\n".
 			
 			/**
 			* Since this is to prevent default 'enter'
 			*
 			*/
 			//"<body onKeyPress='isEnter()' >\n".
 			"<body >\n".
 			"<form  name='initMe' action=entry.php method=post>\n".
 			
 			/**
 			* Global header
 			*
 			*/
			"<table border='1' class='dedeq' >\n".
			"<tr>\n".
			
			  "<td><b>DATE <b><input type='submit' onClick=\"cal.select(document.forms['initMe'].trDateEnt,'anchor1','dd-MM-yyyy'); return false;\" NAME=\"anchor1\" ID=\"anchor1\" value='Select'></b></td> <td >	".$CHtml->formInput("trDateEnt",
			                                                                                                                                                                                                                            $_POST["trDateEnt"],
			                                                                                                                                                                                                                            $stdStyle . $stdProperties)." </td> \n".

			"</tr>\n".
			"</table><br/>\n";
?>
